﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace HyperPin_Database_Editor
{
    public partial class HPMainSettings : HPSettingsPanel
    {
        static string iniVersion = "Version";
        static string iniStartingGenre = "Starting_Genre";

        public HPMainSettings()
        {
            //currentSettingsSection = "Main";
            InitializeComponent();
        }

        public override void doLoadSettings()
        {
            textVersion.Text = readSetting(iniVersion, null);
            comboStartingGenre.Text = readSetting(iniStartingGenre, null);
        }

        public override void doSaveSettings()
        {
            writeSetting(iniStartingGenre, comboStartingGenre.Text);
        }
    }
}
